package com.itheima.service.mongo;

import com.itheima.domain.mongo.UserLike;
import com.itheima.vo.PageBeanVo;
import com.itheima.vo.UserLikeCountVo;

public interface UserLikeSrevice {
    //喜欢，粉丝，互相喜欢数量
    UserLikeCountVo counts(Long userId);

    //喜欢，粉丝，互相喜欢详情查询
    PageBeanVo LikeByPage(String type, Long userId, Integer pageNum, Integer pageSize);

    //探花-喜欢
    Boolean saveLove(UserLike userLike);

    // 探花-不喜欢
    Boolean removeLove(Long userId, Long likeUserId);

    //删除掉推荐列表内的数据
    void remove(Long userId, Long likeUserId);

}
